import request from '@/utils/request'

// 查询日常报销列表
export function listDailyReimbursement(query) {
  return request({
    url: '/reimbursement/DailyReimbursement/list',
    method: 'get',
    params: query
  })
}

// 查询日常报销详细
export function getDailyReimbursement(id) {
  return request({
    url: '/reimbursement/DailyReimbursement/' + id,
    method: 'get'
  })
}

// 新增日常报销
export function addDailyReimbursement(data) {
  return request({
    url: '/reimbursement/DailyReimbursement',
    method: 'post',
    data: data
  })
}

// 修改日常报销
export function updateDailyReimbursement(data) {
  return request({
    url: '/reimbursement/DailyReimbursement',
    method: 'put',
    data: data
  })
}

// 删除日常报销
export function delDailyReimbursement(id) {
  return request({
    url: '/reimbursement/DailyReimbursement/' + id,
    method: 'delete'
  })
}
